

package com.kimo.shop.user.comment.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author kimo-taozhouchuan on 2020/03/02
 */
@Data
@ApiModel(value = "会员支付参数")
public class PayUserParam {

    @NotBlank(message = "会员等级id不能为空")
    @ApiModelProperty(value = "会员等级id", required = true)
    private Long id;

    @ApiModelProperty(value = "二维码携带的参数")
    private String scene;

    @ApiModelProperty(value = "支付方式 (1:微信小程序支付 2:支付宝 3微信扫码支付 4 微信h5支付)", required = true)
    private Integer payType = 1;

    @ApiModelProperty(value = "支付完成回跳地址", required = true)
    private String returnUrl;

}
